
// 获取用户信息
export const getUserInfo = (axios) => {
    return axios.get('/api/consumer/show')
}

// 获取 order 信息
export const getOrderList = (axios, params) => {
    return axios.get('/api/order', params)
}

// 获取当前订单信息
export const getCurrentOrderList = (axios, orderId) => {
    return axios.get(`/api/order/${orderId}`)
} 